home *** CD-ROM | disk | FTP | other *** search
/ GFX Sensations 1 / Graphic Sensations - Volume 1.iso / com_net / tcp / amitcp / netinclude / devices / sana2specialstats.h < prev    next >
C/C++ Source or Header  |  2000-01-01  |  1KB  |  51 lines

  1. #ifndef SANA2_SANA2SPECIALSTATS_H
  2. #define SANA2_SANA2SPECIALSTATS_H 1
  3. /*
  4. **    $Filename: devices/sana2specialstats.h $
  5. **    $Revision: 1.1 $
  6. **    $Date: 1993/06/04 11:16:15 $
  7. **
  8. **    Defined ids for SANA-II special statistics.
  9. **
  10. **
  11. **    (C) Copyright 1991 Commodore-Amiga Inc.
  12. **        All Rights Reserved
  13. */
  14.  
  15.  
  16. #ifndef SANA2_SANA2DEVICE_H
  17. #include <sana2/sana2device.h>
  18. #endif    /* !SANA2_SANA2DEVICE_H */
  19.  
  20.  
  21. /*
  22. ** The SANA-II special statistic identifier is an unsigned 32 number.
  23. ** The upper 16 bits identify the type of network wire type to which
  24. ** the statistic applies and the lower 16 bits identify the particular
  25. ** statistic.
  26. **
  27. ** If you desire to add a new statistic identifier, contacts CATS.
  28. */
  29.  
  30.  
  31.  
  32. /*
  33. ** defined ethernet special statistics
  34. */
  35.  
  36. #define S2SS_ETHERNET_BADMULTICAST    ((((S2WireType_Ethernet)&0xffff)<<16)|0x0000)
  37. /*
  38. ** This count will record the number of times a received packet tripped
  39. ** the hardware's multicast filtering mechanism but was not actually in
  40. ** the current multicast table.
  41. */
  42.  
  43. #define S2SS_ETHERNET_RETRIES        ((((S2WireType_Ethernet)&0xffff)<<16)|0x0001)
  44. /*
  45. ** This count records the total number of retries which have resulted
  46. ** from transmissions on this board.
  47. */
  48.  
  49.  
  50. #endif    /* SANA2_SANA2SPECIALSTATS_H */
  51.